"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function reverse(param) {
    // const strparm = <string>param  //react
    const strparm = param;
    const charArray = strparm.split('');
    return charArray.reverse().join("");
    return "";
}
// 123456     654321
// "123456"    ["1","2","3","4","5","6"] ==> "654321"
console.log(reverse("123456"));
